package com.transfiguro.datamodel.javamodels;

import com.transfiguro.datamodel.GenericStatement;
import com.transfiguro.datamodel.Statement;

import java.util.ArrayList;
import java.util.List;

public class ForStatement extends GenericStatement{
    private String loop;

    public List<Statement> getLoopInit() {
        return loopInit;
    }

    public void setLoopInit(final List<Statement> loopInit) {
        this.loopInit = loopInit;
    }

    private List<Statement> loopInit;

    public ForStatement() {
        loopInit = new ArrayList<Statement>();
    }
    
    public void addInit(final Statement statement) {
        loopInit.add(statement);
    }

    public String getLoop() {
        return loop;
    }

    public void setLoop(final String loop) {
        this.loop = loop;
    }
}
